Interview Questions and Answer
Options:
a. Public
b. Private
c. Protected
d. Inherited
Reveal Answer
Options:
a. Permits the data to be hidden from other classes
b. It contains data member and member functions
c. It brings together all aspects of an entity in one place
d. All of the above.
Reveal Answer
Options:
a. 0
b. Undefined
c. 1
d. Garbage value
Reveal Answer
Options:
a. Inheritance
b. Encapsulation
c. Data abstraction
d. Polymorphism
Reveal Answer
Options:
a. Creates a new line
b. Creates space between two words
c. Removes a line
d. None
Reveal Answer
Options:
a. Within the class
b. Outside the class
c. Both within and outside the class
d. None of the above
Reveal Answer
Options:
a. Conditional operator
b. Extraction operator
c. Scope resolution operator
d. Field width operator
Reveal Answer
Options:
a. Partially yes
b. No
c. Partially no
d. Yes
Reveal Answer
Options:
a. Inline function
b. normal function
c. data function
d. none
Reveal Answer
Options:
a. Can’t predict
b. Yes
c. No
d. May be
Reveal Answer
Options:
a. Copy constructor, Inline function, constructor,
b. Constructor, copy constructor, Inline function,
c. Inline function, default constructor, destructor, constructor
d. Constructor, destructor, copy constructor, default constructor
Reveal Answer
Options:
a. Inside the class
b. Outside the class
c. Both (a) and (b)
d. None of the above.
Reveal Answer
Bestdotnet google plus